package org.pim.smart.hibernate.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractSysUserType entity provides the base persistence definition of the
 * SysUserType entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractSysUserType implements java.io.Serializable {

	// Fields

	private Integer userTypeOid;
	private String userTypeName;
	private String userTypeRight;
	private Set sysUsers = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractSysUserType() {
	}

	/** minimal constructor */
	public AbstractSysUserType(String userTypeName, String userTypeRight) {
		this.userTypeName = userTypeName;
		this.userTypeRight = userTypeRight;
	}

	/** full constructor */
	public AbstractSysUserType(String userTypeName, String userTypeRight,
			Set sysUsers) {
		this.userTypeName = userTypeName;
		this.userTypeRight = userTypeRight;
		this.sysUsers = sysUsers;
	}

	// Property accessors

	public Integer getUserTypeOid() {
		return this.userTypeOid;
	}

	public void setUserTypeOid(Integer userTypeOid) {
		this.userTypeOid = userTypeOid;
	}

	public String getUserTypeName() {
		return this.userTypeName;
	}

	public void setUserTypeName(String userTypeName) {
		this.userTypeName = userTypeName;
	}

	public String getUserTypeRight() {
		return this.userTypeRight;
	}

	public void setUserTypeRight(String userTypeRight) {
		this.userTypeRight = userTypeRight;
	}

	public Set getSysUsers() {
		return this.sysUsers;
	}

	public void setSysUsers(Set sysUsers) {
		this.sysUsers = sysUsers;
	}

}